sudo timedatectl set-local-rtc true --adjust-system-clock
sudo timedatectl set-ntp true
sudo timedatectl status

#                Local time: 一 2021-10-18 01:13:06 CST
#            Universal time: 日 2021-10-17 17:13:06 UTC
#                  RTC time: 一 2021-10-18 01:13:06
#                 Time zone: Asia/Shanghai (CST, +0800)
# System clock synchronized: no
#               NTP service: inactive
#           RTC in local TZ: yes
# 
# Warning: The system is configured to read the RTC time in the local time zone.
#          This mode cannot be fully supported. It will create various problems
#          with time zone changes and daylight saving time adjustments. The RTC
#          time is never updated, it relies on external facilities to maintain it.
#          If at all possible, use RTC in UTC by calling
#          'timedatectl set-local-rtc 0'.
